<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>volatility.timefmt.OffsetTzInfo : API documentation</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
    <link href="apidocs.css" type="text/css" rel="stylesheet" />
    
    
  </head>
  <body>
    <h1 class="class">v.t.OffsetTzInfo(<span title="datetime.tzinfo">datetime.tzinfo</span>) : class documentation</h1>
    <p>
      <span id="part">Part of <a href="volatility.html">volatility</a>.<a href="volatility.timefmt.html">timefmt</a></span>
      
      <a href="classIndex.html#volatility.timefmt.OffsetTzInfo">View In Hierarchy</a>
    </p>
    <div>
      
    </div>
    <div>Timezone implementation that allows offsets specified in seconds<table class="fieldTable"></table></div>

    
    
    <div id="splitTables">
      <table class="children sortable" id="id1434">
  
  
<tr class="method">
    
    
    <td>Method</td>
    <td><a href="volatility.timefmt.OffsetTzInfo.html#__init__">__init__</a></td>
    <td><span>Accepts offset in seconds</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="volatility.timefmt.OffsetTzInfo.html#set_offset">set_offset</a></td>
    <td><span>Simple setter for offset</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="volatility.timefmt.OffsetTzInfo.html#utcoffset">utcoffset</a></td>
    <td><span>Returns the offset from UTC</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="volatility.timefmt.OffsetTzInfo.html#dst">dst</a></td>
    <td><span>We almost certainly can't know about DST, so we say it's always off</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="volatility.timefmt.OffsetTzInfo.html#tzname">tzname</a></td>
    <td><span>Return a useful timezone name</span></td>
  </tr>
  
</table>
      
      
    </div>
    
    
    

    <div class="function">
  <a name="volatility.timefmt.OffsetTzInfo.__init__">
    
  </a>
  <a name="__init__">
    
  </a>
  <div class="functionHeader">
    
    def
    __init__(self, *args, offset=None, **kwargs):
    
  </div>
  <div class="functionBody">
    
    <div>Accepts offset in seconds<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="volatility.timefmt.OffsetTzInfo.set_offset">
    
  </a>
  <a name="set_offset">
    
  </a>
  <div class="functionHeader">
    
    def
    set_offset(self, offset):
    
  </div>
  <div class="functionBody">
    
    <div>Simple setter for offset<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="volatility.timefmt.OffsetTzInfo.utcoffset">
    
  </a>
  <a name="utcoffset">
    
  </a>
  <div class="functionHeader">
    
    def
    utcoffset(self, dt):
    
  </div>
  <div class="functionBody">
    
    <div>Returns the offset from UTC<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="volatility.timefmt.OffsetTzInfo.dst">
    
  </a>
  <a name="dst">
    
  </a>
  <div class="functionHeader">
    
    def
    dst(self, _dt):
    
  </div>
  <div class="functionBody">
    
    <div>We almost certainly can't know about DST, so we say it's always off<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="volatility.timefmt.OffsetTzInfo.tzname">
    
  </a>
  <a name="tzname">
    
  </a>
  <div class="functionHeader">
    
    def
    tzname(self, _dt):
    
  </div>
  <div class="functionBody">
    
    <div>Return a useful timezone name<table class="fieldTable"></table></div>
  </div>
</div>
    <address>
      <a href="index.html">API Documentation</a> for Volatility 2.2, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2013-06-24 15:16:10.
    </address>
  </body>
</html>